import { NativeModules } from 'react-native';

const {
    saveImptask, selectImptask, isCheckImptask,
    delImptask, taskdetails, editTask, addPlan, selectPlan,
    planDetail, delPlan, editPlan, changePlanState, startPlan,
    updateWorkTime, updateEndTime, compDetail, createNoteBook,
    selectNoteBook, createNoteTable, delNoteBook, saveNote,
    editNoteBook, noteBookDetail, selectNotes, delNote, delNoteBin,
    noteDetail, editNote, restoreNote, moveToRecycle, searchNote,
    selectNoteBin, saveReport, selectAccReport, AccDetail,
    editReport, delReport, saveMineLog, selectMineLog,
    logDetail, editLog, delLog, mineLog, selectDaily,
    updateUserWorkTime, updateUserDay, impTypeCount,
    updateTimeout, selectUser, timeoutTask, exigency,
    sortImptask, getReportCount, selectNearlyPlan,
    moveToRpBin, moveToLogBin, delRpBin, delLogBin, selectRpBin,
    selectLogBin, restoreReport, restoreLog, editSlogan, addMark,
} = NativeModules.DBManagerModule;

export {
    saveImptask, selectImptask, isCheckImptask,
    delImptask, taskdetails, editTask, addPlan, selectPlan,
    planDetail, delPlan, editPlan, changePlanState, startPlan,
    updateWorkTime, updateEndTime, compDetail, createNoteBook,
    selectNoteBook, createNoteTable, delNoteBook, saveNote,
    editNoteBook, noteBookDetail, selectNotes, delNote, delNoteBin,
    noteDetail, editNote, restoreNote, moveToRecycle, searchNote,
    selectNoteBin, saveReport, selectAccReport, AccDetail,
    editReport, delReport, saveMineLog, selectMineLog,
    logDetail, editLog, delLog, mineLog, selectDaily,
    updateUserWorkTime, updateUserDay, impTypeCount,
    updateTimeout, selectUser, timeoutTask, exigency,
    sortImptask, getReportCount, selectNearlyPlan,
    moveToRpBin, moveToLogBin, delRpBin, delLogBin, selectRpBin,
    selectLogBin, restoreReport, restoreLog, editSlogan, addMark,
};
